package com.itheima01;

public class Zi03 extends Fu03 {
    String gender;

    public Zi03() {

        //super();
        System.out.println("子类无参数构造");
    }

    public Zi03(String name, int age, String gender) {
        super(name, age);
        this.gender = gender;
        System.out.println("子类有参数构造");
    }

    public void show() {
        System.out.println(name + "," + age + "," + gender);
    }
}
